package com.financing.wap.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.wap.dto.BaseDTO;
import com.financing.wap.dto.DstArticleDTO;
import com.financing.wap.dto.DstMemberInfoDTO;
import com.financing.wap.dto.DstUserVisitLogDTO;
import com.financing.wap.vo.*;

public interface ICommonDstDao extends IBaseDao<BaseDTO, Integer>  {

    public List<DstUserInvitationVO> userInvitationList(String openid)throws SQLException;

    public int visitExecuteUpperLimit(Map<String, String> map) throws SQLException;

    public List<DstUserGrowthModeVO> growthMode(String openid)  throws SQLException;
    
    public void updateMemberInfo(DstMemberInfoDTO member)  throws SQLException;

    public int shareArticleExecuteUpperLimit(Map<String, String> map);
    
    public List<DstUserTagListVO> queryTagByUser(DstUserTagListVO vo)throws SQLException ;
    
    public List<ArticleInfoVO> topSearch(ArticleInfoVO vo)throws SQLException ;
    
    public Map<String,Object> visitCountByClientOpenid(DstUserTagListVO vo)throws SQLException ;
    
    public List<ArticleInfoVO> queryArticleForUser(DstArticleDTO dto)throws SQLException ;

    public List<DstUserVisitVO> dstUserVisitList(DstUserVisitVO dstUserVisitVO)throws SQLException ;

    public List<DstUserVisitLogVO> customerUserVisitLog(DstUserVisitLogDTO dstUserVisitLog);

    public List<CacheUserInfoVO> cacheUserInfo(Map cacheObject);
}
